package com.firexxx.vp.infrastructure.query.impl;

import com.firexxx.vp.domain.vp.fuse.FuseVoicePrintEntity;
import com.firexxx.vp.domain.vp.fuse.FuseVoicePrintRepository;
import com.firexxx.vp.domain.vp.fuse.query.FuseVoicePrintQueryInterface;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/12/25 17:22
 */
public class BaseFuseVoicePrintQuery implements FuseVoicePrintQueryInterface {

    @Autowired
    private FuseVoicePrintRepository fuseVoicePrintRepository;

    @Override
    public List<FuseVoicePrintEntity> findByGroupId(String groupId) {
        return fuseVoicePrintRepository.findByGroupId(groupId);
    }
}